package org.voyager.service.admin.scenic.dao;

import java.util.List;

import org.voyager.service.admin.scenic.po.ScenicGroupWithSpot;
import org.voyager.service.admin.scenic.po.ScenicSpotGroup;
import org.voyager.service.admin.scenic.vo.ScenicGroupSpotVo;
import org.voyager.service.admin.scenic.vo.ScenicSpotAddVo;

public interface ScenicGroupAndSpotMapper {
    List<ScenicGroupWithSpot> selectGroupAndSpotsByCondition(ScenicGroupWithSpot groupWithSpot);
    
    int insertScenicSpotGroupBatch(List<ScenicSpotGroup> list);
    
    int deleteScenicSpotGroupBatch(ScenicGroupSpotVo scenicGroupSpotVo);
    
    int deleteScenicMapBySpotId(String scenicSpotId);
    
    int deleteScenicRouteBySpotId(String scenicSpotId);
    
    int deleteScenicSpotGroupBySpotId(String scenicSpotId);
    
    List<ScenicSpotAddVo> selectScenicSpots(ScenicSpotAddVo scenicSpotAddVo);
}